/ Assembly List / LJCNetCommon / NetString / Truncate

Namespace - LJCNetCommon


Parameters
text - The text value.
length - The maximum length.

Returns

The truncated string.

Syntax

C#
public static String Truncate(String text, Int32 length)

Truncates a text string to the specified length.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.